﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using GS.Cricket.Entities;

namespace GS.Cricket.Service
{
    public interface IMatchPlayerService
    {
        int Add(MatchPlayer matchPlayer);
        void Update(MatchPlayer matchPlayer);
        void Delete(int matchPlayerId);
        MatchPlayer GetById(int matchPlayerId);
        IEnumerable<MatchPlayer> GetByPlayer(int playerId);
        IEnumerable<MatchPlayer> GetByMatch(int matchId);
        IEnumerable<MatchPlayer> GetAllMatchPlayers();
    }
}
